package com.ljh.mybatis.service.impl;

import com.ljh.mybatis.entity.Student;
import com.ljh.mybatis.mapper.StudentMapper;
import com.ljh.mybatis.service.StudentService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @auth 刘佳浩
 * @create 2020-11-18-21:46
 */
@Service
public class StudentServiceImpl implements StudentService {
    @Autowired
    private StudentMapper studentMapper;
    //多对一
    @Override
    public List<Student> getStuTea() {
        return  studentMapper.getStuTea();

    }
}
